﻿/***********************************************************************
 * Module:  DemoActivator.h
 * Author:  ZHANGHASI
 * Modified: 2020年12月7日 下午 4:21:16
 * Purpose: Declaration of the class DemoActivator
 ***********************************************************************/

#ifndef __DEMOACTIVATOR_H__
#define __DEMOACTIVATOR_H__

#include "CPF/CPFActivator.h"

class DemoActivator : public CPFActivator
{
public:
    DemoActivator();
    virtual ~DemoActivator();

    /**
    * \fn  virtual bool CPFActivator::start(void);
    *
    * \brief   启动插件.
    *
    * \author  zhanghs
    * \date    2020/12/8
    *
    * \return  返回启动结果.
    */
    virtual bool start(void);

    /**
    * \fn  virtual bool CPFActivator::stop(void);
    *
    * \brief   停止插件.
    *
    * \author  zhanghs
    * \date    2020/12/8
    *
    * \return  返回停止结果.
    */
    virtual bool stop(void);

    /**
    * \fn  virtual std::string CPFActivator::name(void);
    *
    * \brief   插件名称.
    *
    * \author  zhanghs
    * \date    2020/12/8
    *
    * \return  返回插件名称.
    */
    virtual std::string name(void);

    /**
    * \fn  virtual std::string CPFActivator::version(void);
    *
    * \brief   插件版本.
    *
    * \author  zhanghs
    * \date    2020/12/8
    *
    * \return  返回插件版本.
    */
    virtual std::string version(void);

public:
    // Activator:必须添加的宏
    //CPF_INSTANCE(DemoActivator);

protected:
private:

};
// Activator函数外:必须添加的宏
//CPF_OBJECT_ADDRESS(DemoActivator);

#endif // __DEMOACTIVATOR_H__
